// 草地hcanvas子类
import canvasAbstract from './canvasAbstract';
import config from '../config';
import strawModel from '../model/straw';

export default  new (class straw extends canvasAbstract implements ICanvas{
  name = 'straw';
  num(): number {
    return config.straw.num;
  }
  model(): ModelInterface {
    return strawModel;
  }
  render() {
    this.createModel();
    super.renderModel();
  }
})('straw');